var Mock = require('mockjs');

exports.response = function(req, res) {
  return Mock.mock({
  "msg": "OK",
  "code": 0,
  "data": {
    "total": {
      "trader": "total",
      "allTimePnl": "23923.23",
      "tradeCount": "182",
      "reapProfit": "90",
      "winRatio": "50.0%",
      "averageReturnRate": "0.23",
      "UtilizationRatio": "18%",
      "tradeTotalMarketValue": "3489388.4",
      "marketValueYield": "2.323%",
      "profitYield": "2.323%",
      "lossYield": "2.323%",
      "profitLossRatio": "2.323%",
      "maximumLoss": "32823.239",
      "groupid": "547",
      "holdsNum": "23",
      "beginCash": "23634.4",
      "dayPnl": "3400",
      "minNegPnl": "476",
      "historyDays": "12",
      "streak": "5",
      "winningDayRatio": "67.3%"
    },
    "list": [
      {
        "trader": "54701",
        "allTimePnl": "23923.23",
        "tradeCount": "182",
        "reapProfit": "90",
        "winRatio": "50.0%",
        "averageReturnRate": "0.23",
        "UtilizationRatio": "18%",
        "tradeTotalMarketValue": "3489388.4",
        "marketValueYield": "2.323%",
        "profitYield": "2.323%",
        "lossYield": "2.323%",
        "profitLossRatio": "2.323%",
        "maximumLoss": "32823.239",
        "groupid": "547",
        "holdsNum": "23",
        "beginCash": "23634.4",
        "dayPnl": "3400",
        "minNegPnl": "476",
        "historyDays": "12",
        "streak": "5",
        "winningDayRatio": "67.3%"
      },
      {
        "trader": "54702",
        "allTimePnl": "23923.23",
        "tradeCount": "182",
        "reapProfit": "90",
        "winRatio": "50.0%",
        "averageReturnRate": "0.23",
        "UtilizationRatio": "18%",
        "tradeTotalMarketValue": "3489388.4",
        "marketValueYield": "2.323%",
        "profitYield": "2.323%",
        "lossYield": "2.323%",
        "profitLossRatio": "2.323%",
        "maximumLoss": "32823.239",
        "groupid": "547",
        "holdsNum": "23",
        "beginCash": "23634.4",
        "dayPnl": "3400",
        "minNegPnl": "476",
        "historyDays": "12",
        "streak": "5",
        "winningDayRatio": "67.3%"
      }
    ]
  }
})
}
